home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 2
/
Aminet AMIGA CDROM (1994)(Walnut Creek)[Feb 1994][W.O. 44790-1].iso
/
Aminet
/
dev
/
misc
/
egs.lha
/
EGS
/
EGS_Devels
/
doc
/
gbmenuselect.doc
< prev
next >
Wrap
Text File
|
1993-02-16
|
1KB
|
69 lines
/*
* $
* $ FILE : gbmenuselect.doc
* $ VERSION : 1
* $ REVISION : 1
* $ DATE : 08-Feb-93 09:57
* $
* $ Author : mvk
* $
*
*
* (c) Copyright 1990/93 VIONA Development
* All Rights Reserved
*
*/
gbmenuselect.library/EGB_CreateMenuGadget
gbmenuselect.library/EGB_ModifyMenuGadget
NAME
EGB_CreateMenuGadget Create a gadbox menu gadget
SYNOPSIS
box = EGB_CreateMenuGadget(con, id, elems)
D0 A0 D0 A1
EB_GadBoxPtr box;
EB_GadContext con;
LONG id;
EB_StrArrayPtr elems;
FUNCTION
Creates a gadbox menu gadget. These gadgets offer several possible selections.
In normal state the actual selection is displayed. If the user hits the gadget
all possible items pop up like a menu. The user can now select the appropriate
item. The selection is canceled using the right mouse button.
INPUTS
elems : An array of strings each representing one choice
RETURNS
gbmenuselect.library/ModifyMenuGadget
NAME
EGB_ModifyMenuGadget
SYNOPSIS
EGB_ModifyMenuGadget(win, gad, num);
A0 A1 D0
EI_WindowPtr win;
EI_GadgetPtr gad;
WORD num;
FUNCTION
Sets the actual selection of a menu select gadget to the item with the
number num.
INPUTS
win : Pointer to the gadgets window; if NULL than no refreshing is done
gad : A menu select gadget
num : The number of the entry to become the new actual selection
RETURNS